<!doctype html>
<html lang="en">
<head>
    <title>裁断作业</title>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes">
    <script src="../../script/mes-import.js"></script>
    <style type="text/css">
        html,body{height:100%}
        .line{
            border:1px solid #4E5465;
        }
        .smallLineDiv{
            margin:5px 0;
            width: 80%;
            height:28px;
            float: left;
            border: 1px solid white;
            line-height: 28px;
        }
        .smallLineDiv1{
            margin:5px 0;
            width: 33%;
            height:28px;
            float: left;
            border: 0px solid white;
            line-height: 28px;
        }
        .main{
            height: 85%;
            width: 100%;
            margin-top:10px;
            overflow-y: auto;
            border-left: 1px solid rgb(61,66,93);
        }
    </style>
</head>
<body id="CdJobList" style="padding: 10px;">
<form class="layui-form" action="" lay-filter="myForm">
    <div class="layui-form-item">
        <div class="layui-input-inline" >
            <label class="layui-form-label" style="text-align: right;">RFID：</label>
            <div class="layui-input-block">
              <input type="text" name="code" id="code" readLocaRfid="vm.getleftRfidList()" @keyDown="getleftRfidList" autocomplete="off" placeholder="扫描RFID自动带出工单信息" class="layui-input">
            </div>
        </div>
        <div class="layui-input-inline" style="width: 10%">
            <img src="../../script/imgs/scan.png" scanButton onclick="scan('code')"/>
        </div>
        <div class="layui-input-inline" >
            <label class="layui-form-label" style="text-align: right;">员工工号：</label>
            <div class="layui-input-block">
                <input type="text" name="userCode" id="userCode" lay-verify="userCode" autocomplete="off" placeholder="扫描或输入员工工号" class="layui-input">
            </div>
        </div>
        <div class="layui-input-inline" style="width: 5%">
            <img src="../../script/imgs/scan.png" scanButton onclick="scan('userCode')"/>
        </div>

        <div class="layui-input-inline" style="width: 15%">
            <input type="checkbox"  name="autoWork" title="扫RFID自动报工">
        </div>


    </div>
    <div style="position: absolute;top: 12px;right: 50px;">
        <button class="layui-btn" id="defaultBtn" style="width: 111px" type="button" >报工</button>
        <button class="layui-btn" id="startBtn" style="width: 111px;display: none" type="button" @click="submitData('START')">开工</button>
        <button class="layui-btn" id="finishBtn" style="width: 111px;display: none" type="button" @click="submitData('FINISHED')">完工</button>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-inline" style="width: 80%" id="orderInfoPanel" style="">
            <label class="layui-form-label">工单信息</label>
            <div class="layui-input-block">
                <div class="line smallLineDiv main" id="orderInfo">
                    <div class="smallLineDiv1" id="productName">型体：</div>
                    <div class="smallLineDiv1" id="orderCode">工单号：</div>
                    <div class="smallLineDiv1" id="colorName">颜色：</div>
                    <div class="smallLineDiv1" id="clName">材料：</div>
                    <div class="smallLineDiv1" id="processName">当前工序：</div>
                    <div class="smallLineDiv1" id="status"></div>
                    <div class="smallLineDiv1" id="description">备注：</div>
                </div>

            </div>
        </div>

    </div>
    <div style="position: absolute;top: 75px;right: 50px;">
        <div class="layui-input-block">
            <button type="button"  style="width: 111px" class="layui-btn" @click="">工艺指导文件</button>
        </div>

    </div>
    <div style="position: absolute;top: 137px;right: 50px;">
        <div class="layui-input-block">
            <button type="button"  style="width: 111px" class="layui-btn" @click="">矢量图</button>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-inline" style="float:left;">
            <div class="layui-input-block">
            <button type="button"  class="layui-btn" @click="SelectLists">报工历史</button>
            </div>
        </div>
    </div>
</form>
<table class="layui-hide" id="cdJobListTable" lay-filter="remakeReceiveFilter"></table>

<script type="text/javascript" src="js/CutJobList.js"></script>
</body>
</html>
